<?php
	$obj=new Info();
	$obj->loadByKey($id);
	include("FCKeditor/fckeditor.php");
?>
<form name="f" action="?module=<?php echo $module?>&action=process&mode=update" method="post">
<div class="ContentTitle">
    <div class="left" style="padding-top:8px"><?php echo $objModule->ModuleName?></div>
    <div class="CMSButton right">
        <a onclick="f.submit()">Save</a>
        <a href="?module=<?php echo $module?>">Cancel</a>
    </div>    
    <div class="clear"></div>
</div>
<ul id="ContentTabs" class="shadetabs">
    <!--
    <li><a class="selected" onclick="ShowHideDiv('Tab',1,2)">General Information</a></li>
    <li><a onclick="ShowHideDiv('Tab',1,2)">Account Information</a></li>
    -->
</ul>       

<div id="Tab1" class="TabContainer" style="display:block">
<!-------------CONTENT OF EACH MODULE ---------------------------->
<table width="100%">
	<tr>
		<td>
			InfoID:
		</td>
		<td>
			<input type="text" name="InfoID" value="<?php echo $obj->InfoID?>" readonly/>
		</td>
	</tr>
	<tr>
		<td>
			Info Name:
		</td>
		<td>
            <?php
			$oFCKeditor = new FCKeditor('InfoName');
			$oFCKeditor->BasePath = 'FCKeditor/';
			$oFCKeditor->Width  = '100%' ;
			$oFCKeditor->Height = '600' ;
			$oFCKeditor->Value = $obj->InfoName;
			$oFCKeditor->Create() ; 
			?>
		</td>
	</tr>
	<tr>
		<td>
			Info NameEng:
		</td>
		<td>
            <?php
			$oFCKeditor = new FCKeditor('InfoNameEng');
			$oFCKeditor->BasePath = 'FCKeditor/';
			$oFCKeditor->Width  = '100%' ;
			$oFCKeditor->Height = '600' ;
			$oFCKeditor->Value = $obj->InfoNameEng;
			$oFCKeditor->Create() ; 
			?>
		</td>
	</tr>
	
</table>
<!-------------END CONTENT OF EACH MODULE ---------------------------->
</div>
</form>